package com.nervenets.web.controller.handler.user.user;

import com.nervenets.web.annotation.NeedValidation;
import com.nervenets.web.controller.handler.ApiParams;
import com.nervenets.web.validation.Type;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class UserResetPwdParams extends ApiParams {
    @NeedValidation(type = Type.MOBILE, description = "用户手机号码")
    private String mobile;
    @NeedValidation(type = Type.NOTEMPTY, description = "验证码")
    private String vCode;
    @NeedValidation(type = Type.NOTEMPTY, description = "密码")
    private String password;
    @NeedValidation(type = Type.NOTEMPTY, description = "二次密码")
    private String passwordTry;
}
